<h2>Menu strony</h2>
<?php
	/* @var $navigation Zend_View_Helper_Navigation_Menu */
	$navigation = $this->getHelper('site')
		->get('navigation')
			->setDefaultProxy('menu')
			->setLocale($this->urlParams('locale'))
			->getViewHelperNavigation();

	/* @var $container Zend_Navigation_Container */
	$container = $navigation->getContainer();

	// znajdz aktywną stronę!
	if ('gallery' == $this->urlParams('module')) {
		$container->findBy('alias', 'galeria')->setActive(true);
	} else
	if (null != ($page = $container->findBy('alias', $this->urlParams('alias')))) {
		$page->setActive(true);
	}

	print $navigation->render(null, array(
		'setOnlyActiveBranch' => true,
		'renderParents' => false
	));